# Arguments
ARG PYTHON_VER="3.10"
FROM python:$PYTHON_VER

# Arguments
ARG PYTHON_VER="3.10"
ARG QUARTO_VER="1.3.450"
ARG ENV_NAME="my_project"
# Environment variables
ENV ENV_NAME=$ENV_NAME
ENV PYTHON_VER=$PYTHON_VER
ENV QUARTO_VER=$QUARTO_VER

# Copy files
RUN mkdir requirements

COPY install_quarto.sh install_dependencies.sh requirements/
RUN bash ./requirements/install_dependencies.sh
RUN bash ./requirements/install_quarto.sh $QUARTO_VER

# Install dependencies
COPY requirements.txt install_requirements.sh requirements/
RUN bash requirements/install_requirements.sh $ENV_NAME $PYTHON_VER
RUN curl -fsSL https://ollama.com/install.sh | sh


